projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6be5d91
)
Duplicate icon if dynamic. (Solves crash on Mapsource with KMA corruption.)
author
robertl
<robertl>
Fri, 12 Mar 2004 17:42:30 +0000
(17:42 +0000)
committer
robertl
<robertl>
Fri, 12 Mar 2004 17:42:30 +0000
(17:42 +0000)
waypt.c
patch
|
blob
|
history
diff --git
a/waypt.c
b/waypt.c
index 4f5e66bc83c49cdc58d4a88b4968d458fa9dc604..80ee78f819a9bb5bc42de0922481d24d886ef45e 100644
(file)
--- a/
waypt.c
+++ b/
waypt.c
@@
-50,6
+50,8
@@
waypt_dupe(const waypoint *wpt)
tmp->url = xstrdup(wpt->url);
if (wpt->url_link_text)
tmp->url_link_text = xstrdup(wpt->url_link_text);
+ if (wpt->icon_descr && wpt->icon_descr_is_dynamic)
+ tmp->icon_descr = xstrdup(wpt->icon_descr);
/*
* It's important that this duplicated waypoint not appear
* on the master Q.